

/* this ALWAYS GENERATED file contains the definitions for the interfaces */


 /* File created by MIDL compiler version 6.00.0361 */
/* at Thu Mar 10 21:57:23 2005
 */
/* Compiler settings for _CodeSmithParser.idl:
    Oicf, W1, Zp8, env=Win32 (32b run)
    protocol : dce , ms_ext, c_ext, robust
    error checks: allocation ref bounds_check enum stub_data 
    VC __declspec() decoration level: 
         __declspec(uuid()), __declspec(selectany), __declspec(novtable)
         DECLSPEC_UUID(), MIDL_INTERFACE()
*/
//@@MIDL_FILE_HEADING(  )

#pragma warning( disable: 4049 )  /* more than 64k source lines */


/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif

#include "rpc.h"
#include "rpcndr.h"

#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__

#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

#ifndef ___CodeSmithParser_h__
#define ___CodeSmithParser_h__

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

/* Forward Declarations */ 

#ifndef __IDirectiveCallback_FWD_DEFINED__
#define __IDirectiveCallback_FWD_DEFINED__
typedef interface IDirectiveCallback IDirectiveCallback;
#endif 	/* __IDirectiveCallback_FWD_DEFINED__ */


#ifndef __IDirectiveParser_FWD_DEFINED__
#define __IDirectiveParser_FWD_DEFINED__
typedef interface IDirectiveParser IDirectiveParser;
#endif 	/* __IDirectiveParser_FWD_DEFINED__ */


#ifndef __IParserCallback_FWD_DEFINED__
#define __IParserCallback_FWD_DEFINED__
typedef interface IParserCallback IParserCallback;
#endif 	/* __IParserCallback_FWD_DEFINED__ */


#ifndef __IMarkupParser_FWD_DEFINED__
#define __IMarkupParser_FWD_DEFINED__
typedef interface IMarkupParser IMarkupParser;
#endif 	/* __IMarkupParser_FWD_DEFINED__ */


#ifndef __CDirectiveParser_FWD_DEFINED__
#define __CDirectiveParser_FWD_DEFINED__

#ifdef __cplusplus
typedef class CDirectiveParser CDirectiveParser;
#else
typedef struct CDirectiveParser CDirectiveParser;
#endif /* __cplusplus */

#endif 	/* __CDirectiveParser_FWD_DEFINED__ */


#ifndef __CMarkupParser_FWD_DEFINED__
#define __CMarkupParser_FWD_DEFINED__

#ifdef __cplusplus
typedef class CMarkupParser CMarkupParser;
#else
typedef struct CMarkupParser CMarkupParser;
#endif /* __cplusplus */

#endif 	/* __CMarkupParser_FWD_DEFINED__ */


/* header files for imported files */
#include "prsht.h"
#include "mshtml.h"
#include "mshtmhst.h"
#include "exdisp.h"
#include "objsafe.h"

#ifdef __cplusplus
extern "C"{
#endif 

void * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void * ); 

/* interface __MIDL_itf__CodeSmithParser_0000 */
/* [local] */ 


enum MarkupTypeEnum
    {	Comment	= 0,
	Expression	= 1,
	LiteralCode	= 2,
	LiteralText	= 3,
	ScriptBlock	= 4,
	IncludeFile	= 5,
	Directive	= 6
    } ;


extern RPC_IF_HANDLE __MIDL_itf__CodeSmithParser_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf__CodeSmithParser_0000_v0_0_s_ifspec;

#ifndef __IDirectiveCallback_INTERFACE_DEFINED__
#define __IDirectiveCallback_INTERFACE_DEFINED__

/* interface IDirectiveCallback */
/* [unique][helpstring][dual][uuid][object] */ 


EXTERN_C const IID IID_IDirectiveCallback;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("0678D20A-087D-4D9E-ABC1-DE5FBC515F8F")
    IDirectiveCallback : public IDispatch
    {
    public:
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetName( 
            /* [in] */ BSTR Name) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AddAttribute( 
            /* [in] */ BSTR AttributeName,
            /* [in] */ BSTR Value) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IDirectiveCallbackVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            IDirectiveCallback * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            IDirectiveCallback * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            IDirectiveCallback * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            IDirectiveCallback * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            IDirectiveCallback * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            IDirectiveCallback * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            IDirectiveCallback * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetName )( 
            IDirectiveCallback * This,
            /* [in] */ BSTR Name);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *AddAttribute )( 
            IDirectiveCallback * This,
            /* [in] */ BSTR AttributeName,
            /* [in] */ BSTR Value);
        
        END_INTERFACE
    } IDirectiveCallbackVtbl;

    interface IDirectiveCallback
    {
        CONST_VTBL struct IDirectiveCallbackVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define IDirectiveCallback_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define IDirectiveCallback_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define IDirectiveCallback_Release(This)	\
    (This)->lpVtbl -> Release(This)


#define IDirectiveCallback_GetTypeInfoCount(This,pctinfo)	\
    (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)

#define IDirectiveCallback_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)

#define IDirectiveCallback_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)

#define IDirectiveCallback_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)


#define IDirectiveCallback_SetName(This,Name)	\
    (This)->lpVtbl -> SetName(This,Name)

#define IDirectiveCallback_AddAttribute(This,AttributeName,Value)	\
    (This)->lpVtbl -> AddAttribute(This,AttributeName,Value)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IDirectiveCallback_SetName_Proxy( 
    IDirectiveCallback * This,
    /* [in] */ BSTR Name);


void __RPC_STUB IDirectiveCallback_SetName_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IDirectiveCallback_AddAttribute_Proxy( 
    IDirectiveCallback * This,
    /* [in] */ BSTR AttributeName,
    /* [in] */ BSTR Value);


void __RPC_STUB IDirectiveCallback_AddAttribute_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);



#endif 	/* __IDirectiveCallback_INTERFACE_DEFINED__ */


#ifndef __IDirectiveParser_INTERFACE_DEFINED__
#define __IDirectiveParser_INTERFACE_DEFINED__

/* interface IDirectiveParser */
/* [unique][helpstring][dual][uuid][object] */ 


EXTERN_C const IID IID_IDirectiveParser;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("D5F3443D-4BAF-4A99-AF93-61B7F07CA6AF")
    IDirectiveParser : public IDispatch
    {
    public:
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Parse( 
            /* [in] */ BSTR bstrText,
            /* [in] */ IDirectiveCallback *callback) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IDirectiveParserVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            IDirectiveParser * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            IDirectiveParser * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            IDirectiveParser * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            IDirectiveParser * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            IDirectiveParser * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            IDirectiveParser * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            IDirectiveParser * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Parse )( 
            IDirectiveParser * This,
            /* [in] */ BSTR bstrText,
            /* [in] */ IDirectiveCallback *callback);
        
        END_INTERFACE
    } IDirectiveParserVtbl;

    interface IDirectiveParser
    {
        CONST_VTBL struct IDirectiveParserVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define IDirectiveParser_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define IDirectiveParser_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define IDirectiveParser_Release(This)	\
    (This)->lpVtbl -> Release(This)


#define IDirectiveParser_GetTypeInfoCount(This,pctinfo)	\
    (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)

#define IDirectiveParser_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)

#define IDirectiveParser_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)

#define IDirectiveParser_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)


#define IDirectiveParser_Parse(This,bstrText,callback)	\
    (This)->lpVtbl -> Parse(This,bstrText,callback)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IDirectiveParser_Parse_Proxy( 
    IDirectiveParser * This,
    /* [in] */ BSTR bstrText,
    /* [in] */ IDirectiveCallback *callback);


void __RPC_STUB IDirectiveParser_Parse_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);



#endif 	/* __IDirectiveParser_INTERFACE_DEFINED__ */


#ifndef __IParserCallback_INTERFACE_DEFINED__
#define __IParserCallback_INTERFACE_DEFINED__

/* interface IParserCallback */
/* [helpstring][uuid][dual][object] */ 


EXTERN_C const IID IID_IParserCallback;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("22FCC3B4-318E-4A7B-8379-610FCA196A65")
    IParserCallback : public IDispatch
    {
    public:
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnMarkupText( 
            /* [in] */ enum MarkupTypeEnum MarkupType,
            /* [in] */ BSTR bstrText) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnParseComplete( void) = 0;
        
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE OnBeginParse( void) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IParserCallbackVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            IParserCallback * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            IParserCallback * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            IParserCallback * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            IParserCallback * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            IParserCallback * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            IParserCallback * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            IParserCallback * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnMarkupText )( 
            IParserCallback * This,
            /* [in] */ enum MarkupTypeEnum MarkupType,
            /* [in] */ BSTR bstrText);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnParseComplete )( 
            IParserCallback * This);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *OnBeginParse )( 
            IParserCallback * This);
        
        END_INTERFACE
    } IParserCallbackVtbl;

    interface IParserCallback
    {
        CONST_VTBL struct IParserCallbackVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define IParserCallback_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define IParserCallback_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define IParserCallback_Release(This)	\
    (This)->lpVtbl -> Release(This)


#define IParserCallback_GetTypeInfoCount(This,pctinfo)	\
    (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)

#define IParserCallback_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)

#define IParserCallback_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)

#define IParserCallback_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)


#define IParserCallback_OnMarkupText(This,MarkupType,bstrText)	\
    (This)->lpVtbl -> OnMarkupText(This,MarkupType,bstrText)

#define IParserCallback_OnParseComplete(This)	\
    (This)->lpVtbl -> OnParseComplete(This)

#define IParserCallback_OnBeginParse(This)	\
    (This)->lpVtbl -> OnBeginParse(This)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IParserCallback_OnMarkupText_Proxy( 
    IParserCallback * This,
    /* [in] */ enum MarkupTypeEnum MarkupType,
    /* [in] */ BSTR bstrText);


void __RPC_STUB IParserCallback_OnMarkupText_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IParserCallback_OnParseComplete_Proxy( 
    IParserCallback * This);


void __RPC_STUB IParserCallback_OnParseComplete_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IParserCallback_OnBeginParse_Proxy( 
    IParserCallback * This);


void __RPC_STUB IParserCallback_OnBeginParse_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);



#endif 	/* __IParserCallback_INTERFACE_DEFINED__ */


#ifndef __IMarkupParser_INTERFACE_DEFINED__
#define __IMarkupParser_INTERFACE_DEFINED__

/* interface IMarkupParser */
/* [unique][helpstring][dual][uuid][object] */ 


EXTERN_C const IID IID_IMarkupParser;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("BFF94D44-C7C2-4DD1-8D45-DB7E1A59417C")
    IMarkupParser : public IDispatch
    {
    public:
        virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Parse( 
            /* [in] */ BSTR bstrText,
            /* [in] */ IParserCallback *pCallback) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IMarkupParserVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            IMarkupParser * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            IMarkupParser * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            IMarkupParser * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )( 
            IMarkupParser * This,
            /* [out] */ UINT *pctinfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )( 
            IMarkupParser * This,
            /* [in] */ UINT iTInfo,
            /* [in] */ LCID lcid,
            /* [out] */ ITypeInfo **ppTInfo);
        
        HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )( 
            IMarkupParser * This,
            /* [in] */ REFIID riid,
            /* [size_is][in] */ LPOLESTR *rgszNames,
            /* [in] */ UINT cNames,
            /* [in] */ LCID lcid,
            /* [size_is][out] */ DISPID *rgDispId);
        
        /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )( 
            IMarkupParser * This,
            /* [in] */ DISPID dispIdMember,
            /* [in] */ REFIID riid,
            /* [in] */ LCID lcid,
            /* [in] */ WORD wFlags,
            /* [out][in] */ DISPPARAMS *pDispParams,
            /* [out] */ VARIANT *pVarResult,
            /* [out] */ EXCEPINFO *pExcepInfo,
            /* [out] */ UINT *puArgErr);
        
        /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Parse )( 
            IMarkupParser * This,
            /* [in] */ BSTR bstrText,
            /* [in] */ IParserCallback *pCallback);
        
        END_INTERFACE
    } IMarkupParserVtbl;

    interface IMarkupParser
    {
        CONST_VTBL struct IMarkupParserVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define IMarkupParser_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define IMarkupParser_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define IMarkupParser_Release(This)	\
    (This)->lpVtbl -> Release(This)


#define IMarkupParser_GetTypeInfoCount(This,pctinfo)	\
    (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)

#define IMarkupParser_GetTypeInfo(This,iTInfo,lcid,ppTInfo)	\
    (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)

#define IMarkupParser_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)	\
    (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)

#define IMarkupParser_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)	\
    (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)


#define IMarkupParser_Parse(This,bstrText,pCallback)	\
    (This)->lpVtbl -> Parse(This,bstrText,pCallback)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMarkupParser_Parse_Proxy( 
    IMarkupParser * This,
    /* [in] */ BSTR bstrText,
    /* [in] */ IParserCallback *pCallback);


void __RPC_STUB IMarkupParser_Parse_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);



#endif 	/* __IMarkupParser_INTERFACE_DEFINED__ */



#ifndef __CodeSmithParser_LIBRARY_DEFINED__
#define __CodeSmithParser_LIBRARY_DEFINED__

/* library CodeSmithParser */
/* [helpstring][uuid][version] */ 


EXTERN_C const IID LIBID_CodeSmithParser;

EXTERN_C const CLSID CLSID_CDirectiveParser;

#ifdef __cplusplus

class DECLSPEC_UUID("66E00448-EA6F-464D-9E19-12488723C421")
CDirectiveParser;
#endif

EXTERN_C const CLSID CLSID_CMarkupParser;

#ifdef __cplusplus

class DECLSPEC_UUID("11F60BFB-2392-4FD0-88A0-E844CE48B84C")
CMarkupParser;
#endif
#endif /* __CodeSmithParser_LIBRARY_DEFINED__ */

/* Additional Prototypes for ALL interfaces */

unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long *, unsigned long            , BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserMarshal(  unsigned long *, unsigned char *, BSTR * ); 
unsigned char * __RPC_USER  BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * ); 
void                      __RPC_USER  BSTR_UserFree(     unsigned long *, BSTR * ); 

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif


